<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/content/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>用户列表</title>
		<t:resource types="jquery,lhgdialog,easyui" />
	</head>
	<body>
		<ui:datagrid idField="id" action="user.do?datagrid" title="用户列表" name="userList">
			<ui:column title="编号" field="id" hidden="true" />
			<ui:column title="用户账号" field="userAccount" query="true" />
			<ui:column title="用户姓名" field="userName" />
			<ui:column title="用户状态" field="state" dictionary="userState" />
			<ui:column title="备注" field="remark" />
			<ui:column field="opt" title="操作" align="center" />
			<ui:deleteOpt url="user.do?delete&id={id}" permiCode="system:user:delete" message="确定要删除用户[{userAccount}][{userName}]吗？" title="删除用户" />
			<ui:toolbar iconCls="add" title="新增用户" permiCode="system:user:save" url="user.do?addorupdate" funname="add" height="380" />
			<ui:toolbar iconCls="edit" title="编辑用户" permiCode="system:user:save" url="user.do?addorupdate" funname="update" height="320" />
			<ui:toolbar iconCls="edit" title="重置密码" permiCode="system:user:reset:password" url="user.do?resetPassword" funname="update" height="180" />
		</ui:datagrid>
	</body>
</html>